package com.model.auto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 档案信息配置信息
 * </p>
 *
 * @author astupidcoder
 * @since 2022-09-14
 */
@Data
public class ArchivesConfigItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 档案信息配置id
     */
    private Integer infoId;

    /**
     * 详细信息名称
     */
    private String name;

    /**
     * 编码，1,2,3,4,5之类
     */
    private String code;

    /**
     * 排序字段
     */
    private Integer sortNum;

    /**
     * 标签
     */
    private String tags;

    /**
     * 是否正常0正常1删除
     */
    private Integer enabled;

    private Long createBy;

    private String createName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createDate;

    private Long updateBy;

    private String updateName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime updateDate;
}
